home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / renegade / xcbv30.zip / UPGRADE.BAT < prev    next >
DOS Batch File  |  1994-06-22  |  2KB  |  62 lines

  1. @echo off
  2. echo.
  3. echo ■ Express Call-Back Verifier v3.0 Upgrade Utility ■
  4. echo.
  5. if not exist XCBVPACK.FLS goto wrongdir
  6. if .%1. == .. goto nodir
  7.  
  8. echo This program will help upgrade your current XCBV installation to the new
  9. echo version. Unfortunately, because of the changes in this upgrade, your current
  10. echo configuration will be lost, as well as all call-back records.
  11. echo.
  12. echo You may press [CTRL]-C to abort this procedure at any time. If you don't
  13. echo already have an older version of XCBV installed, abort this program and run
  14. echo INSTALL instead.
  15.  
  16. echo.
  17. echo You specified '%1' as your existing XCBV directory.
  18. echo If this is incorrect, stop now. Otherwise:
  19. echo.
  20. pause
  21. echo.
  22. echo Working...
  23. ren xcbvpack.fls *.exe >nul
  24.  
  25. xcbvpack -y -u %1\ *.*
  26.  
  27. :done
  28. ren xcbvpack.exe *.fls >nul
  29. if errorlevel 1 goto error
  30. del %1\xcbv.dat
  31. del %1\*.doc >nul
  32. del %1\*.frm >nul
  33. copy *.doc %1 >nul
  34. copy *.frm %1 >nul
  35. echo.
  36. echo All new & updated files have been installed in the target directory.  If the
  37. echo program doesn't work properly, try doing a full installation.  It is
  38. echo recommended that you read HISTORY.DOC to learn about program changes.
  39. echo.
  40. echo TO COMPLETE YOUR UPGRADE:
  41. echo ■  Go to the %1 directory.
  42. echo ■  Run CONFIG to set up this version of XCBV for your system.
  43. echo ■  Use a text editor to modify the SPECIAL.TXT file.
  44. echo ■  Run EDIT and select "Scan & update records".
  45. goto end
  46.  
  47. :wrongdir
  48. echo This program must be run from the directory containing XCBVPACK.FLS.
  49. goto end
  50.  
  51. :nodir
  52. echo Specify directory where XCBV is currently installed
  53. echo (with no trailing backslash).
  54. echo Example:  UPGRADE D:\BBS\DOORS\XCBV
  55. goto end
  56.  
  57. :error
  58. echo Error (Not enough memory? Disk full?) -- Installation failed!
  59.  
  60. :end
  61. echo.
  62.